<!DOCTYPE html>
<html class="javascript js cssanimations">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>72公社</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="white">
    <meta name="apple-mobile-web-app-title" content="72公社">
    <meta name="format-detection" content="telephone=no">
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="browsermode" content="application">
    <meta name="x5-page-mode" content="app">
    <meta name="x5-fullscreen" content="true">
    <link rel="stylesheet" href="../../css/amaze.min.css" />
    <link rel="stylesheet" href="../../css/amazeui.min.css" />
    <link rel="stylesheet" href="../../css/app.css">
    <!--[if (gte IE 9)|!(IE)]>
    <!-->
    <script type="text/javascript" src="../js/jquery-1.7.2.min.js"></script>
    <!--<![endif]-->
    <!--[if lt IE 9]>
      <script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js">
        
      </script><script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js">
        
      </script><script src="http://a.static.amazeui.org/assets/2.x/js/polyfill/rem.min.js">
        
      </script><script src="http://a.static.amazeui.org/assets/2.x/js/polyfill/respond.min.js">
        
      </script><script src="http://a.static.amazeui.org/assets/2.x/js/amazeui.legacy.js">
        
      </script>
    <![endif]-->
    <script src="../../script/amazeui.min.js"></script>
    <style type="text/css">
    /*头部背景*/
    
    .am-header-default {
        background-color: #f40;
    }
    /*分类样式*/
    
    .am-menu-dropdown1 .am-menu-nav>li>a {
        border-bottom: 1px solid #d63900;
        background: #f40;
    }
    
    .am-menu-dropdown1 .am-menu-nav>li.am-parent.am-open>a {
        background: #e63d00;
    }
    /*按钮样式*/
    
    .am-btn-primary:hover {
        color: #fff;
        background-color: #c23400;
        border-color: #c23400;
    }
    
    .am-btn-primary {
        color: #fff;
        background-color: #f40;
        border-color: #f40;
    }
    
    .this {
        background: white;
        text-align: center;
        vertical-align: middle;
        font-size: 14px;
        padding: 15px;
        border-bottom: 1px solid #feebdc;
        border-right: 1px solid #feebdc;
    }
    
    .this i {
        color: #ff8000;
    }
    </style>
</head>


<script type="text/javascript" src="js/appoint.js"></script>

<style type="text/css">

	.zl span{float:right;}


	

	
	.bb1 { border-bottom: 1px solid #f1f1f1; margin-bottom: 5px;}
	.am-accordion-content .am-u-sm-12 label, .am-accordion-content .am-u-sm-12 span.show { line-height:50px;}
	.am-accordion-content .am-u-sm-12 label { font-weight: 400; width: 30%; font-size: 16px; margin: 0;}
	.am-accordion-content .am-u-sm-12 span.show { width: 70%;}

	.zl label{float: left;}
	span.show.text { line-height: 23px !important; margin: 8px 0;}
	.w100 { width: 100% !important;}
	span.show select { width:100%; height: 30px; border-color: #B2B2B2; border-radius: 3px; vertical-align:baseline;}
	span.show input {border-color: #B2B2B2; border-radius: 3px; height:40px; margin-top: 5px;border:block}
	span.show input_year { }
	span.show.input_year select {  width: 15%;}
	span.show.input_year select.year {  width: 25%;}
	.w100 textarea {border-radius: 3px;}
	
	
	
	
</style>


<body>
	
	
	
<div class="am-g am-topbar-fixed-top" style="background-image:url('/wxapp/images/topbar.png'); padding:0 0;height:45px;">
	<a href="javascript:history.back();">
	<div class="am-u-sm-3" style="margin-top:10px;text-align:left">

		

	</div> 
	</a>

	<div class="am-u-sm-6" style="margin-top:10px;font-family:微软雅黑;color:white;text-align:center;">
		预约详情
	</div>

	<a href="/wap">
	<div class="am-u-sm-3" style="margin-top:11px;text-align:right">
        <!--
		<span class="am-icon-home am-icon-sm" style="color:white;"></span>
        -->
	</div> 
	</a>

</div>


<div class="am-g">
	<input type="hidden" value="<%=locals.datas._id%>" id="appointId">
	<div class="am-accordion-content">
      	   <div class="am-g zl">
      	   	    <div class="am-u-sm-12 bb1">
      	   	      <label >预约编号：</label>
	      	      <span class="show">
	      	      	<%=locals.datas.appointNo%>
      	          </span>
      	   	    </div>
      	   	</div>
      	   	
      	   	 <div class="am-g zl">
      	   	    <div class="am-u-sm-12 bb1">
      	   	      <label >服务状态：</label>
	      	      <span class="show">
	      	      	<%=locals.datas.status%>
      	          </span>
      	   	    </div>
      	   	</div>
      	   	
      	   	<div class="am-g zl">
      	   	    <div class="am-u-sm-12 bb1">
      	   	      <label>预约时间：</label>
	      	      <span class="show">
	      	      	<%=locals.datas.appointTime%>
      	          </span>
      	   	    </div>
      	   	</div>
      	   	
      	   	<div class="am-g zl">
      	   	    <div class="am-u-sm-12 bb1">
      	   	      <label>完成时间：</label>
	      	      <span class="show">
	      	      	<%=locals.datas.oktime%>
      	          </span>
      	   	    </div>
      	   	</div>
      	   	
      	   	<div class="am-g zl">
      	   	    <div class="am-u-sm-12 bb1">
      	   	      <label>服务类别：</label>
	      	      <span class="show">
	      	      	<%=locals.datas.category%>
      	          </span>
      	   	    </div>
      	   	</div>
      	   	
      	   	<%if(locals.datas.userNo){%>
      	   		
      	   		<div class="am-g zl">
	      	   	    <div class="am-u-sm-12 bb1">
	      	   	      <label>用户编号：</label>
		      	      <span class="show">
		      	      	<%=locals.datas.userNo%>
	      	          </span>
	      	   	    </div>
	      	   	</div>
      	   		
      	   	<%}%>
      	   	<%if(locals.datas.number){%>
      	   		
      	   		<div class="am-g zl">
	      	   	    <div class="am-u-sm-12 bb1">
	      	   	      <label>数量：</label>
		      	      <span class="show">
		      	      	<%=locals.datas.number%>
	      	          </span>
	      	   	    </div>
	      	   	</div>
      	   		
      	   	<%}%>
      	   	
      	   	
      	   	<div class="am-g zl">
      	   	    <div class="am-u-sm-12 bb1">
      	   	      <label>联系人：</label>
	      	      <span class="show">
	      	      	<%=locals.datas.linkman||''%>
      	          </span>
      	   	    </div>
      	   	</div>
      	   	
      	   	<div class="am-g zl">
      	   	    <div class="am-u-sm-12 bb1">
      	   	      <label>联系电话：</label>
	      	      <span class="show">
	      	      	<%=locals.datas.telephone%>
	      	      	<a href="tel:<%=locals.datas.telephone%>" style="float:right;">
	      	      	<i  class="am-icon-phone am-icon-sm"></i>&nbsp;&nbsp;&nbsp;
	      	      	</a>
      	          </span>
      	          
      	          
      	   	    </div>
      	   	</div>
      	   	
      	   	
      	   	
      	   	<div class="am-g zl">
      	   	    <div class="am-u-sm-12 bb1">
      	   	      <label>小&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;区：</label>
	      	      <span class="show">
	      	      	<%=locals.datas.compounds%>
      	          </span>
      	   	    </div>
      	   	</div>
      	   	
      	   	<div class="am-g zl">
      	   	    <div class="am-u-sm-12 bb1">
      	   	      <label>地&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;址：</label>
	      	      <span class="show">
	      	      	<%=locals.datas.address%>
      	          </span>
      	   	    </div>
      	   	</div>
      	   	
      	
      	   	
      	   	
      	   	<div class="am-g zl">
      	   	    <div class="am-u-sm-12 bb1">
      	   	      <label >服务价格：</label>
	      	      <span class="show">
      	      	   	<%if(locals.datas.status=='预约中'){%>
		      	        <input type="number" id="price" value="<%=locals.datas.price%>" class="am-form-field"  placeholder="上门服务价格"/>
		            <%}else{%>
		            	<%=locals.datas.rTotal%>
		            <%}%>
	      	      	
	      	      	
      	          </span>
      	   	    </div>
      	   	</div>
      	   	
      	   	<div class="am-g zl">
      	   	    <div class="am-u-sm-12 bb1">
      	   	      <label >服务备注：</label>
	      	      <span class="show">
	      	      	<%if(locals.datas.status=='预约中'){%>
      	      	     <input type="text" id="descripte" value="<%=locals.datas.descripte%>" class="am-form-field"  placeholder="服务备注"/>
      	            <%}else{%>
      	            	<%=locals.datas.descripte%>
      	             <%}%>
      	          </span>
      	   	    </div>
      	   	</div>
      	   	
      	   	 <%if(locals.datas.status=='完成'){%>
      	   	   <div class="am-g zl">
	      	   	    <div class="am-u-sm-12 bb1">
	      	   	      <label >支付金额：</label>
		      	      <span class="show">
		      	      	<%=locals.datas.rTotal%>
	      	          </span>
	      	   	    </div>
	      	   	</div>
	      	   	<div class="am-g zl">
	      	   	    <div class="am-u-sm-12 bb1">
	      	   	      <label >支付方式：</label>
		      	      <span class="show">
		      	      	<%=locals.datas.payType%>
	      	          </span>
	      	   	    </div>
	      	   	</div>
	      	   	<div class="am-g zl">
	      	   	    <div class="am-u-sm-12 bb1">
	      	   	      <label >支付时间：</label>
		      	      <span class="show">
		      	      	<%=locals.datas.payTime%>
	      	          </span>
	      	   	    </div>
	      	   	</div>
	      	   	
      	   	
      	   	<%}%>
      	   	
     </div>
	
	
	
</div>



<%if(locals.datas.status=='预约中'){%>

<div data-am-widget="navbar" class="am-navbar am-cf am-navbar-default" >
  <ul class="am-navbar-nav am-cf am-avg-sm-4" style="background:#ffaa43;color:white;"> 
  	<li >
      <a href="#" id="sub_but">
               服务完成
      </a>
    </li>
  	|
    <li >
      <a href="#" id="cancal_but">
               取消订单
      </a>
    </li>
   
  </ul>
</div>

<%}else{%>
	
<%}%>


<div class="am-modal am-modal-prompt" tabindex="-1" id="my-prompt">
  <div class="am-modal-dialog" style="border-radius:5px;">
    <div class="am-modal-hd">确定取消吗？</div>
    <div class="am-modal-bd">
      亲，为啥取消呢？
      <input type="text" id="yuanyin" class="am-modal-prompt-input">
    </div>
    <div class="am-modal-footer">
      <span class="am-modal-btn" data-am-modal-cancel>取消</span>
      <span class="am-modal-btn" data-am-modal-confirm>提交</span>
    </div>
  </div>
</div>


